home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / os2 / os2cop20.zip / OS2COPY.DOC < prev    next >
Text File  |  1993-04-28  |  25KB  |  316 lines

  1. ┌───────────────────────────────────────────────────────────────────────────┐
  2. │  OS2COPY rel. 2.1 by Ståhle (C)                                           │
  3. │                                                                           │
  4. │  This packet is designed to Copy an OS/2 v. 2.01 and a 2.1ß March 1993    │
  5. │  HPFS or FAT BootManager system, fully configured, from one partition     │
  6. │  (drive letter) to an other (eg. from D: to F:)                           │
  7. │                                                                           │
  8. │  >> It will NOT work on a plain OS/2 v. 2.0 GA without CSD (= ServicePak) │
  9. │                                                                           │
  10. │  This also implies that an entire system including all configuration,     │
  11. │  installed on one computer can be copied to another if the hard disk      │
  12. │  from the second computer is temporarily installed on the first one.      │
  13. │                                                                           │
  14. ├───────────────────────────────────────────────────────────────────────────┤
  15. │ File list:                                                                │
  16. │                                                                           │
  17. │ OS2Copy.DOC  (this file).                                                 │
  18. │                                                                           │
  19. │ All of these are required files:                                          │
  20. │                                                                           │
  21. │ OS2Copy.CMD  v. 2.01 Initiates the copy process.                          │
  22. │ OS2Copy2.CMD v. 2.01 Performs the copy process.                           │
  23. │ InitEdit.Exe v. 2.01 Edits the init files.                                │
  24. │ YesNo.LNG    v. 2.01 abbreviations for Yes and No in national language    │
  25. │ XCopy.Sw     v. 2.01 switches for XCOPY                                   │
  26. │ InitEdit.LST v. 2.01 list of files to be edited                           │
  27. │                                                                           │
  28. │ If your OS/2 system is using a national language (ie. other than English) │
  29. │ you +MUST+ edit this file - any 7 bit ASCII text editor will do:          │
  30. │                                                                           │
  31. │ YesNo.LNG    abbreviations for Yes and No in your national language       │
  32. │ ......................................................................... │
  33. │                                                                           │
  34. │ You may also find it necessary to edit the file                           │
  35. │                                                                           │
  36. │ XCopy.Sw     v. 2.01 switches for XCOPY                                   │
  37. │ ......................................................................... │
  38. │                                                                           │
  39. │ You may also have to edit this file, any 7 bit ASCII text editor will do: │
  40. │                                                                           │
  41. │ InitEdit.LST                                                              │
  42. │ (List of files, may need editing especially if you are copying a national │
  43. │  language version other than English.                                     │
  44. ├───────────────────────────────────────────────────────────────────────────┤
  45. │                                                                           │
  46. │  All of the above are Copyright (C):                                      │
  47. │                       John Ståhle                                         │
  48. │                       289A Buddinge Hovedgade                             │
  49. │                       DK-2880 Bagsværd                                    │
  50. │                       Denmark, Europe                                     │
  51. │                       Phone +45 44 98 66 18 (voice)                       │
  52. │                                                                           │
  53. │  You can reach me through the RIME and ILINK international OS/2           │
  54. │  conferences, user name: John Staahle                                     │
  55. │                                                                           │
  56. └───────────────────────────────────────────────────────────────────────────┘
  57.  
  58. ┌───────────────────────────────────────────────────────────────────────────┐
  59. │                                                                           │
  60. │  This is what it is all about:                                            │
  61. │                                                                           │
  62. │  Two co-operating REXX scripts, and a co-operating program,               │
  63. │  designed to Copy an * OS/2 HPFS or FAT BootManager * system from         │
  64. │  one drive letter to another, eg. from D: to E:                           │
  65. │                                                                           │
  66. │  There is no obvious reason why this packet should not work on a          │
  67. │  'OS/2 as only operating system' too but this has not yet been tested.    │
  68. │  It may even work in a network, this has not been tested either.          │
  69. │                                                                           │
  70. │  The program interacts with the two OS2Copy.CMDs, (which also interacts)  │
  71. │  in performing the actual editing of OS/2 initfiles (OS2.INI and the like)│
  72. │  to fit on a new partition, creating data files for the scripts, etc.     │
  73. │                                                                           │
  74. └───────────────────────────────────────────────────────────────────────────┘
  75. ┌───────────────────────────────────────────────────────────────────────────┐
  76. │                                                                           │
  77. │ How to:                                                                   │
  78. │                                                                           │
  79. │   Prerequisites:                                                          │
  80. │                                                                           │
  81. │   1. An installed OS/2 BootManager system                                 │
  82. │      with REXX (part of standard OS/2) installed                          │
  83. │                                                                           │
  84. │   2. A partition to Copy to :-)                                           │
  85. │      >>> This partition will become formatted during the procedure <<<    │
  86. │      >>> AND it will contain ALL files found on the From system.   <<<    │
  87. │      >>> The latter implies that the From partition must have      <<<    │
  88. │      >>> room for these files.                                     <<<    │
  89. │      >>> The program will abort if there is not enough free space. <<<    │
  90. │                                                                           │
  91. │   3. The files listed as Required in the above Filelist.                  │
  92. │                                                                           │
  93. │  >>  All these files MUST reside in the subdirectory from which you       │
  94. │  >>  start OS2COPY.                                                       │
  95. │  >>  This subdirectory MUST be included in the PATH statement in your     │
  96. │  >>  Config.Sys system file                                               │
  97. │  >>  +AND+ in your DOS PATH statement in Autoexec.Bat.                    │
  98. │  >>  It is highly recommended to place this subdirectory entry            │
  99. │  >>  immediately after "x:\OS2" in both of these PATH statements          │
  100. │                                                                           │
  101. │      Recommended installation procedure:                                  │
  102. │                                                                           │
  103. │      Create a subdirectory named O immediately below the root of your     │
  104. │      From-Drive (eg. X:\O).                                               │
  105. │                                                                           │
  106. │      Copy all files to this subdirectory.                                 │
  107. │                                                                           │
  108. │      Include this subdirectory in the two PATH statements in Config.Sys   │
  109. │      and Autoexec.Bat, respectively. Reboot after editing these files.    │
  110. │                                                                           │
  111. └───────────────────────────────────────────────────────────────────────────┘
  112.  
  113. ┌───────────────────────────────────────────────────────────────────────────┐
  114. │                                                                           │
  115. │   Hands on:                                                               │
  116. │                                                                           │
  117. │ First take a look at what is in the following 7 bit ASCII files:          │
  118. │ YesNo.LNG, XCopy.Sw and InitEdit.LST                                      │
  119. │                                                                           │
  120. │ >>> Make a full backup of your From drive and of anything you want to <<< │
  121. │ >>> keep on your To drive.                                            <<< │
  122. │                                                                           │
  123. │  >>>  No other process may be active while this job is running        <<< │
  124. │                                                                           │
  125. │   Stick to what the program and this documentation file tells you.        │
  126. │                                                                           │
  127. │   Think while you work.                                                   │
  128. │                                                                           │
  129. │   Read - actually read - verify and respect the instruction displayed     │
  130. │   on your screen while running the two OS2COPY*.CMD-scripts.              │
  131. │                                                                           │
  132. │   You +MUST+ edit the file 'YesNo.LNG' if copying a national language     │
  133. │   version other than English. Use any 7 bit ASCII text editor.            │
  134. │                                                                           │
  135. │   You may need to edit InitEdit.LST - use any 7 bit ASCII text editor -   │
  136. │   but unless you have a very non-standard system or applications which    │
  137. │   keep hard coded drive information outside the OS*.INI files, I doubt it.│
  138. │                                                                           │
  139. │   Open a full screen command line session and type:                       │
  140. │                                                                           │
  141. │     OS2Copy <From Drive> with or without a trailing :                     │
  142. │                                                                           │
  143. │       you will later be prompted for <ToDrive>                            │
  144. │                                                                           │
  145. │   or just:                                                                │
  146. │                                                                           │
  147. │     OS2Copy                                                               │
  148. │                                                                           │
  149. │     in which case you will be prompted for <FromDrive> and later be       │
  150. │     prompted for <ToDrive>                                                │
  151. │                                                                           │
  152. │   or, if you are absolutely positive, which drive letter will be          │
  153. │       assigned to the new TO system:                                      │
  154. │                                                                           │
  155. │     OS2Copy <From Drive> <To Drive>                                       │
  156. │                                                                           │
  157. │   Samples:                                                                │
  158. │                                                                           │
  159. │      OS2COPY D                                                            │
  160. │      OS2COPY                                                              │
  161. │      OS2COPY D: F                                                         │
  162. │      OS2COPY D G                                                          │
  163. │                                                                           │
  164. │   Whichever you choose, you are twice asked to confirm the from and to    │
  165. │   partition and file system.                                              │
  166. │                                                                           │
  167. │   Although it is a simple task to make FDISK automatically delete and     │
  168. │   create the TO partition, for the sake of safety you are required to do  │
  169. │   this manually when FDISK has been started by the script.                │
  170. │                                                                           │
  171. │   React to the warnings and follow the instructions displayed on screen.  │
  172. │                                                                           │
  173. │   WHEN you have made changes using FDISK - and this you MUST:             │
  174. │   You MUST delete any old partition that may exist where you want the new │
  175. │   system to reside, create a new partition and add it to BootManager      │
  176. │   - or you will have to restart the procedure from scratch.               │
  177. │                                                                           │
  178. │   Upon leaving FDISK you are requested to reboot using CTRL ALT DEL       │
  179. │   Do so. Do +NOT+ use the RESET button, FDISK has not finished yet.       │
  180. └───────────────────────────────────────────────────────────────────────────┘
  181.  
  182. ┌───────────────────────────────────────────────────────────────────────────┐
  183. │                                                                           │
  184. │   Hands on 2.:                                                            │
  185. │                                                                           │
  186. │   When your system reboots, the OS2Copy2 is automatically called from a   │
  187. │   temporary STARTUP.CMD file in your <From Drive> root directory.         │
  188. │                                                                           │
  189. │   When copying is finished, you MAY have to copy your original STARTUP.CMD│
  190. │   (now named STARTUP.@#@) back into STARTUP.CMD.                          │
  191. │   I have never experienced this myself, but I know (inside info '-))      │
  192. │   that the automatic restore of STARTUP.CMD may not always work.          │
  193. │                                                                           │
  194. │   A backup of the original <From Drive> init files, Config.Sys and        │
  195. │   Autoexec.Bat are left in a subdirectory named <To Drive>\<From Drive>   │
  196. │   (eg. F:\D ).                                                            │
  197. │                                                                           │
  198. ├───────────────────────────────────────────────────────────────────────────┤
  199. │                                                                           │
  200. │   Copying an entire system including all configuration from one           │
  201. │   computer to the next one:                                               │
  202. │                                                                           │
  203. │   Install and configure OS/2 on hard disk 2 (often D:) on From-computer.  │
  204. │                                                                           │
  205. │   Physically install the hard disk to transfer to as disk 1 (C:)          │
  206. │                                                                           │
  207. │   Begin installing OS/2 on hard disk 1 (C:) using the OS/2 installation   │
  208. │   diskettes.                                                              │
  209. │   Configure the C: partition as PRIMARY (using FDISK).                    │
  210. │   Insert the configured OS/2 system and the From-drive into BootManager.  │
  211. │   Abort when the C: disk has been formatted and boot manager is installed.│
  212. │                                                                           │
  213. │   Boot from D:.                                                           │
  214. │   OS2Copy D: C:                                                           │
  215. │   Remove hard disk 1 and insert it in To-computer.                        │
  216. │                                                                           │
  217. └───────────────────────────────────────────────────────────────────────────┘
  218.  
  219. ┌───────────────────────────────────────────────────────────────────────────┐
  220. │  Cracker section.                                                         │
  221. │                                                                           │
  222. │  The INITEDIT.EXE program includes a simple copy protection scheme.       │
  223. │                                                                           │
  224. │  This may of course be broken like any other copy protection,             │
  225. │  but quite frankly, this would not be fair play, considering the many     │
  226. │  hours I have spent analyzing different system in order to make copying   │
  227. │  possible. No documentation was available, remember ?                     │
  228. │                                                                           │
  229. │  If you want to demonstrate your skill, write your own unlimited program  │
  230. │  and place it in the Public Domain.                                       │
  231. │                                                                           │
  232. └───────────────────────────────────────────────────────────────────────────┘
  233. ┌───────────────────────────────────────────────────────────────────────────┐
  234. │                                                                           │
  235. │  Legal section:                                                           │
  236. │                                                                           │
  237. │   The OS2COPY packet has been thoroughly tested and shown to work         │
  238. │   flawlessly on a number of different systems.                            │
  239. │                                                                           │
  240. │   It is, however, distributed * AS IS *.                                  │
  241. │                                                                           │
  242. │   NO responsibility or any other obligation you can ever think of,        │
  243. │   shall be assumed, honored or anything else.                             │
  244. │                                                                           │
  245. │  >>> WARNING <<<                                                          │
  246. │> You are strongly adviced +NOT+ to execute the INITEDIT program,         <│
  247. │> once it has told that no more copies are left.                          <│
  248. │> The actions of the program are undefined.                               <│
  249. │                                                                           │
  250. ├───────────────────────────────────────────────────────────────────────────┤
  251. │                                                                           │
  252. │  This Ståhle (C) software may NOT be used for production by a business,   │
  253. │  government agency or institution without payment of a license fee.       │
  254. │                                                                           │
  255. │  A limited right to TEST this software is granted +anyone+ for            │
  256. │            * A TOTAL OF NO MORE THAN 10 COPIES *                          │
  257. │                                                                           │
  258. │  If you find the software of use to your company etc. and want to         │
  259. │  purchase it, you must order and pay for a number of copies inclusive of  │
  260. │  these 10 copies.                                                         │
  261. │                                                                           │
  262. │  Pricing:                                                                 │
  263. │                                                                           │
  264. │  OS2COPY is ordered for a specific number of copies.                      │
  265. │   11 to  100 copies: US$ 5.00 for each copy.                              │
  266. │  101 to  500 copies: US$ 4.00 for each copy.                              │
  267. │  501 to 1000 copies: US$ 3.00 for each copy.                              │
  268. │  No limit version:   US$ 3,000.00                                         │
  269. │   (A 'No limit' version which is "fully" automated                        │
  270. │    ie. limiting manual work to little more than starting and rebooting    │
  271. │    the computer, may be ordered at no extra charge).                      │
  272. │                                                                           │
  273. │                                                                           │
  274. │                                                                           │
  275. ├───────────────────────────────────────────────────────────────────────────┤
  276. │                                                                           │
  277. │  Public Domain 10 copy version.                                           │
  278. │                                                                           │
  279. │  If and * ONLY IF * this packet is used on a private and                  │
  280. │  personally owned computer, it is placed in the Public Domain.            │
  281. │                                                                           │
  282. │  The Public Domain version will be able to perform 10 copies.             │
  283. │                                                                           │
  284. └───────────────────────────────────────────────────────────────────────────┘
  285.  
  286. ┌───────────────────────────────────────────────────────────────────────────┐
  287. │  A word from the author:                                                  │
  288. │                                                                           │
  289. │  It may seem a kludge that names of files to be edited and subdirectory   │
  290. │  name converting tables etc. are placed in ASCII files instead of being   │
  291. │  hardcoded into program and scripts or being placed in some fancy         │
  292. │  binary files.                                                            │
  293. │  It may also seem a kludge that so much of the code is written in REXX.   │
  294. │                                                                           │
  295. │  This approach, however, enables you to                                   │
  296. │    (hopefully) keep pace with future updates of OS/2, without having to   │
  297. │    buy updates of this packet too                                         │
  298. │    (not that I don't want to sell updates, but let's be reasonable).      │
  299. │  and to                                                                   │
  300. │    add init files related to programs, which create their own init files  │
  301. │    with "hard coded" partition information, instead of using OS2.INI      │
  302. │  and to                                                                   │
  303. │    add binary files, eg. programs, with "hard coded" drive letters        │
  304. │  and to                                                                   │
  305. │    add text files like Config.sys and ATM.INI including drive letters     │
  306. │  and to                                                                   │
  307. │    use this packet with the different national language versions of OS/2  │
  308. │  and to                                                                   │
  309. │    use this packet even if you have changed the standard names of subdirs.│
  310. │                                                                           │
  311. │  Regards, John Ståhle                                                     │
  312. └───────────────────────────────────────────────────────────────────────────┘
  313. ┌───────────────────────────────────────────────────────────────────────────┐
  314. │   That's all.                                                             │
  315. └───────────────────────────────────────────────────────────────────────────┘
  316.